<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <script type='text/javascript' src='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://127.0.0.1/damai/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
CONTROL = '<?php echo $GLOBALS['user']['CONTROL'];?>';
METH = '<?php echo $GLOBALS['user']['METH'];?>';
GROUP = '<?php echo $GLOBALS['user']['GROUP'];?>';
TPL = '<?php echo $GLOBALS['user']['TPL'];?>';
CONTROLTPL = '<?php echo $GLOBALS['user']['CONTROLTPL'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
HTTPREFERER = '<?php echo $GLOBALS['user']['HTTPREFERER'];?>';
</script>
    <link href='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/css/bootstrap.min.css' rel='stylesheet' media='screen'>
<script src='http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/bootstrap.min.js'></script>
                <!--[if lte IE 6]>
                <link rel="stylesheet" type="text/css" href="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/ie6/css/bootstrap-ie6.css">
                <![endif]-->
                <!--[if lt IE 9]>
                <script src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/html5shiv.min.js"></script>
                <script src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/bootstrap/js/respond.min.js"></script>
                <![endif]-->
    <script type="text/javascript">
        $(function(){
            $('#add-cate-form').validate({
                'cname' : {
                    rule:{
                        required: true,
                        maxlen:20
                    },
                    error:{
                        required : '分类名称必填',
                        maxlen:'分类名称不能大于20个字符'
                    },
                    message:'分类名称长度 1 到 20 位',
                    success:'填写正确'
                },
                'ctitle' : {
                    rule:{
                        required: true,
                        maxlen:60
                    },
                    error:{
                        required : '分类标题必填',
                        maxlen:'分类标题不能大于60个字符'
                    },
                    message:'分类标题长度 1 到 60 位 ',
                    success:''
                },
                'ckeywords' : {
                    rule:{
                        maxlen:120
                    },
                    error:{
                        maxlen:'分类关键字不能大于120个字符'
                    },
                    message:'分类关键字长度 1 到 120位',
                    success:''
                },
                'cdes' : {
                    rule:{
                        maxlen:255
                    },
                    error:{
                        maxlen:'分类描述不能大于255个字符'
                    },
                    message:'分类描述长度 1 到 255位',
                    success:''
                },
                'csort' : {
                    rule:{
                        num:'1,65535'
                    },
                    error:{
                        num:'分类排序必须为数字且不能大于65535'
                    },
                    message:'请填写1到65535的排序数字',
                    success:''
                },
                'htmldir' : {
                    rule:{
                        regexp:/^[a-zA-Z]{1,50}$/
                    },
                    error:{
                        regexp:'静态目录格式不正确'
                    },
                    message:'请填写1~50位只包含字母数字下划线,分类静态目录 例如：php',
                    success:''
                },
             
                
            })
        })
    </script>
    <link type="text/css" rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Admin/Tpl/Place/css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="title-header">观看场地</div>
    <form action="" method="post" class="form-inline hd-form" id="add-cate-form">
        <table class="table1">
             <tr>
                <th class="w100">所属影院<公司></th>
                <td>
                    <input type="text" name="cinemaname" />
                </td>
               <!--  <td><link rel="stylesheet" type="text/css" href="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/uploadify.css" />
            <script type="text/javascript" src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/jquery.uploadify.min.js"></script>
            <script type="text/javascript">
            var HDPHP_CONTROL         = "http://127.0.0.1/damai/index.php?a=Admin&c=Place&m=keditor_upload&g=App";
            var UPLOADIFY_URL    = "http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/";
            var HDPHP_UPLOAD_THUMB    ="";
HDPHP_UPLOAD_TOTAL = 0</script>
            <script type="text/javascript" src="http://127.0.0.1/damai/hdphp/hdphp/Extend/Org/Uploadify/hd_uploadify.js"></script>
<script type="text/javascript">
    $(function() {
        hd_uploadify_options.removeTimeout  =0;
        hd_uploadify_options.fileSizeLimit  ="5MB";
        hd_uploadify_options.fileTypeExts   ="*.jpg;*.png;*.gif";
        hd_uploadify_options.queueID        ="hd_uploadify_banner_queue";
        hd_uploadify_options.showalt        =true;
        hd_uploadify_options.uploadLimit    =5;
        hd_uploadify_options.input_type    ="input";
        hd_uploadify_options.elem_id    ="";
        hd_uploadify_options.upload_img_max_width    ="1000";
        hd_uploadify_options.upload_img_max_    ="1000";
        hd_uploadify_options.success_msg    ="正在上传...";//上传成功提示文字
        hd_uploadify_options.formData ={water : "1",upload_img_max_width:"1000",upload_img_max_height:"1000",fileSizeLimit:5242880, someOtherKey:1,PHPSESSID:"771v5pn1bqdbpa7ikp0eb3a364",upload_dir:"",hdphp_upload_thumb:""};
        hd_uploadify_options.thumb_width =200;
        hd_uploadify_options.thumb_height          =150;
        hd_uploadify_options.uploadsSuccessNums = 0;
        $("#hd_uploadify_banner").uploadify(hd_uploadify_options);
        });
</script>
<input type="file" name="up" id="hd_uploadify_banner"/>
<div class="hd_uploadify_banner_msg num_upload_msg" style="display:block">
<input type="checkbox" id="add_upload_water" uploadify_id="hd_uploadify_banner" checked='checked'/><strong style="color:#03565E">是否添加水印</strong><span></span>单文件最大<strong>5MB，允许上传类型*.jpg;*.png;*.gif</strong>
</div>

<div id="hd_uploadify_banner_queue"></div>
<div class="hd_uploadify_banner_files uploadify_upload_files" input_file_id ="hd_uploadify_banner">
    <ul></ul>
    <div style="clear:both;"></div>
</div></td> -->
            </tr>

            <tr>
                <th class="w100">地址</th>
                <td  class="w100">
                    <input type="text" name="cinemaaddress" class="w200"/> 
                </td>
                <td><span id="hd_cinemaaddress"></span></td>
            </tr>
            
           
        <!--     <tr>
                <th class="w100">座位数《票数》</th>
                <td class="w100">
                    <input type="text" name="goods" class="w200"/> 
                </td>
            
                <td><span id="hd_catename">默认为‘张’</span></td>
            </tr>
            <tr>
                <th class="w100">座位号</th>
                <td class="w50">
                    <textarea name="catedes" class="form-control" rows="5"></textarea>
                </td>
                <td class="w200"><span id="hd_catedes">请填写座位编号，以,号隔开如：1排1号,2排1号</span></td>
            </tr> -->
        <!--     <tr>
                <th class="w100">单位</th>
                <td  class="w100">
                    <input type="text" name="goods" class="w200"/> 
                </td>
                <td><span id="hd_catename"></span></td>
            </tr> -->
           
           <!--      <th class="w100">座位图片</th>
                <td>
                    <input type="text" name="cinemaidmodel" />
                </td>
                <td><span id="hd_cinemaidmodel"></span></td>
            </tr> -->
            <tr>
                <th class="w100">相关描述</th>
                <td>
                    <textarea name="cinemades" class="form-control" rows="5"></textarea>
                </td>
                <td><span id="hd_cinemades"></span></td>
            </tr>
           
            <tr><td></td></tr> 
            <tr><td></td></tr> 
            <tr><td></td></tr> 
            <tr><td></td></tr> 
            <tr><td></td></tr>    
        </table>
        <div class="position-bottom">
            <input type="submit" class="hd-success" value="添加"/>
        </div>
    </form>
</div>
</body>
</html>